package entities;

import java.io.Serializable;
import java.util.Date;
import basic.BaseEntity;
import basic.FieldMeta;

public class TSm extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	@FieldMeta(primary = true, name = "编号", description = "编号", column = "sm_no", require = true, range = true, length = 32, order = 0)
	private String smNo;

	public String getSmNo() {
		return smNo;
	}

	public void setSmNo(String smNo) {
		this.smNo = smNo;
	}

	@FieldMeta(name = "关联商户号", description = "关联商户号", column = "mer_no", require = true, length = 32, order = 1)
	private String merNo;

	public String getMerNo() {
		return merNo;
	}

	public void setMerNo(String merNo) {
		this.merNo = merNo;
	}

	@FieldMeta(name = "关联交易号", description = "关联交易号", column = "txn_no", require = true, length = 32, order = 2)
	private String txnNo;

	public String getTxnNo() {
		return txnNo;
	}

	public void setTxnNo(String txnNo) {
		this.txnNo = txnNo;
	}

	@FieldMeta(name = "类型", description = "类型", column = "sm_type", require = true, length = 50, order = 3)
	private String smType;

	public String getSmType() {
		return smType;
	}

	public void setSmType(String smType) {
		this.smType = smType;
	}

	@FieldMeta(name = "金额", description = "金额", column = "sm_amount", require = true, order = 4)
	private Double smAmount;

	public Double getSmAmount() {
		return smAmount;
	}

	public void setSmAmount(Double smAmount) {
		this.smAmount = smAmount;
	}

	@FieldMeta(name = "状态", description = "状态", column = "sm_state", require = true, length = 1, order = 5)
	private String smState;

	public String getSmState() {
		return smState;
	}

	public void setSmState(String smState) {
		this.smState = smState;
	}

	@FieldMeta(name = "发生日期", description = "发生日期", column = "sm_date", require = true, range = true, order = 6)
	private Date smDate;

	public Date getSmDate() {
		return smDate;
	}

	public void setSmDate(Date smDate) {
		this.smDate = smDate;
	}

	@FieldMeta(name = "备注", description = "备注", column = "sm_remark", length = 500, order = 7)
	private String smRemark;

	public String getSmRemark() {
		return smRemark;
	}

	public void setSmRemark(String smRemark) {
		this.smRemark = smRemark;
	}

}